#pragma once
#ifndef _INC_SEQUENCELIST
#define _INC_SEQUENCELIST


#include "Polynomial.h"
#include "Book.h"
#include "Status.h"
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <time.h>


#define Elemtype Book
#define MAXLEN 100

typedef struct {
	Elemtype listData[MAXLEN + 1];
	int listLen;

}SLType;



void SLInit(SLType* sl);

int SLLength(SLType* sl);

int SLInsert(SLType* sl, int n, Elemtype data);

int SLAdd(SLType* sl, Elemtype data);

int SLDelete(SLType* sl, int n);

Elemtype* SLFindByNum(SLType* sl, int n);

void SLAll(SLType* sl);


#endif
